package com.example.demo.Calss16_graph;

/**
 * @program: java_base
 * @description: 图 结构抽象 边
 * @author: zhouhongtao
 * @happyCreateTime: 2022/03/02 09:53
 */
public class Edge {

    public int weight;

    public Node from;

    public Node to;

    public Edge(int weight, Node from, Node to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
